//Function:to calculate the fibonacci value of the specific number
#include <iostream>
#include <iomanip>
using namespace std;

unsigned long fibonacci(int value);

int main()
{
	unsigned long result;
	int number;
	
	cout << "Enter the number:" << endl;
	cin >> number;
	result = fibonacci(number);
	cout << "Fibonacci(" << number << ")=" << result << endl; 
}

unsigned long fibonacci(int value)
{
	if (value==0 || value==1)
		return value;
	else 
		return (fibonacci(value-1)+fibonacci(value-2));
}
